home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / qlib205.zip / QLIB.ZIP / H / STDLIB.H < prev    next >
C/C++ Source or Header  |  1997-07-13  |  842b  |  46 lines

  1. #ifndef __STDLIB_H__
  2. #define __STDLIB_H__
  3.  
  4. #include <stddef.h>
  5.  
  6. #include <alloc.h>
  7.  
  8. #include <process.h>
  9.  
  10. #ifdef __cplusplus
  11.   extern "C" {
  12. #endif
  13.  
  14. typedef void (* atexit_t)(void);
  15.  
  16. extern int atexit(atexit_t func);
  17. //extern atexit(dword);
  18.  
  19. extern dword getenv(byte* nam);
  20.  
  21. //ANSI C stuff (yuk)
  22. extern dword atol(char * s);
  23. extern word atoi(char *s);
  24.  
  25. extern dword itoa(word i,char *s,byte rax);
  26. extern dword ltoa(dword i,char *s,byte rax);
  27. extern dword ultoa(dword i,char *s,byte rax);
  28.  
  29. extern double ftoa(double,void *,dword);
  30. extern double etoa(double,void *,dword);
  31.  
  32. extern void perror(char * s);
  33. extern char * sys_errlist[];
  34. extern dword sys_nerr;
  35.  
  36. extern void srand(word);
  37. extern word rand(void);
  38. extern word random(word);
  39. extern void randomize(void);
  40.  
  41. #ifdef __cplusplus
  42.   }
  43. #endif
  44.  
  45. #endif
  46.